package com.clientmanage.domain.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务评价
 * </p>
 *
 * @author HUANG
 * @since 2025-07-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_service_evaluation")
@ApiModel(value="TblServiceEvaluation对象", description="服务评价")
public class ServiceEvaluation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评价编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    @ApiModelProperty(value = "员工ID")
    private Long employeeId;

    @ApiModelProperty(value = "服务项目ID")
    private Long serviceItemId;

    @ApiModelProperty(value = "服务态度评分(1-5)")
    private Integer serviceAttitude;

    @ApiModelProperty(value = "技术水平评分(1-5)")
    private Integer technicalLevel;

    @ApiModelProperty(value = "环境卫生评分(1-5)")
    private Integer environmentHygiene;

    @ApiModelProperty(value = "文字评价")
    private String textReview;

    @ApiModelProperty(value = "评价时间")
    private LocalDateTime reviewTime;


}
